<template>
  <div>
     <h1>个人简介</h1>
     <div>姓名:{{name}}</div>
     <div>计数器:{{count}}</div>
     <button @click="increment">+</button>
  </div>
</template>

<script lang='ts'>
  export default{
    data(){
      return{
        name:'Giles',
        count:1
      }
    },
    methods:{
      increment(){
        this.count++
      }
    }
  }
</script>

<style lang='scss' scoped>
</style>